package com.easondongh.system.common;

import com.easondongh.system.domain.SysUser;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 封装用户的角色与权限
 * @author EasonDongH
 * @date 2020/4/28 16:51
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ActiveUser implements Serializable {

    private SysUser user;
    private List<String> roles;
    private List<String> permissions;
}
